package main.java.design.template;

/**
 * <p>
 *     模板方法
 * </p>
 *
 * @author : wangdejian
 * @version 1.0
 * @date : 2020/6/17 21:12
 */
public class Client {
    public static void main(String[] args) {
        AbstractClass abstractClass = new ConcreteClassA();
        abstractClass.templateMthod();

        AbstractClass abstractClassB = new ConcreteClassB();
        abstractClassB.templateMthod();
    }
}
